package com.stockz.equity.charting.painter.mode;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.stockz.equity.charting.event.listener.ChartingPanelCompositModeListener;
import com.stockz.equity.charting.event.listener.ModeListener;

@Component
public class CompositMode implements Mode {

	@Autowired private ChartingPanelCompositModeListener modeListener;

	@Override
	public String getName() {
		return "Composit";
	}
	
	@Override
	public ModeListener getModeListener() {
		return this.modeListener;
	}
}
